package com.youpingou.service;

import com.youpingou.domain.Cart;
import com.youpingou.vo.BaseResult;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CartService {
    public void addToCart(Cart cartRequest, HttpServletRequest request);

    void addLoginCart(Integer userId, String carts);

    List<Cart> findCartByToken(HttpServletRequest request);

    void updateCart(Integer skuid, Cart cartReq, HttpServletRequest request);

    void deleteCart(Integer skuid, HttpServletRequest request);
}
